#include "tabwidget.h"
#include <QLabel>
#include <QMovie>
#include <QTabBar>

TabWidget::TabWidget(QWidget *parent) :
    QTabWidget(parent)
{
    QLabel *animationLabel = new QLabel(this);
    QMovie *movie = new QMovie(":/icons/icons/new.gif", QByteArray(), animationLabel);
    animationLabel->setMovie(movie);
    movie->start();
    tabBar()->setTabButton(0, QTabBar::LeftSide, animationLabel);
}
